<table class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">页面访问</th>
		</tr> 
	</thead> 
	 <tbody> 
	 	<tr> 
			<td  width="30%" >请求路径</td> 
			<td  width="70%" colspan="2">user/control/userDynamicList.htm</td>
		</tr>
		<tr> 
			<td>请求方式</td> 
			<td colspan="2">GET</td>
		</tr> 
		<tr> 
			<td>请求参数</td> 
			<td>页码</td> 
			<td>
				变量：page<br>
				类型：Integer<br>
				是否必填：否
			</td>
		</tr>
		<tr> 
			<td width="30%" >返回值</td> 
			<td width="30%" >用户动态分页</td> 
			<td width="40%" >
				变量：pageView<br>
				类型：<a style="color: #317ee7" onclick="anchorJump('#anchor_10'); return false;">PageView</a>
			</td>
		</tr>
	</tbody> 
</table>

<table class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">页面访问 - AJAX方式</th>
		</tr> 
	</thead> 
	 <tbody> 
	 	<tr> 
			<td  width="30%">请求路径</td> 
			<td  width="70%" colspan="2">user/control/userDynamicList.htm</td>
		</tr>
		<tr> 
			<td>请求方式</td> 
			<td colspan="2">GET</td>
		</tr>
		<tr> 
			<td>自定义请求头</td> 
			<td colspan="2">协议头：X-Requested-With  值：XMLHttpRequest</td>
		</tr>
		<tr> 
			<td>请求参数</td> 
			<td>页码</td> 
			<td>
				变量：page<br>
				类型：Integer<br>
				是否必填：否
			</td>
		</tr>
		<tr> 
			<td width="30%" >请求成功返回</td> 
			<td width="30%" >JSON格式值 类型:<a style="color: #317ee7" onclick="anchorJump('#anchor_10'); return false;">PageView</a></td>
			<td width="40%">值内容说明：用户动态分页</td> 
		</tr>	
	</tbody> 
</table>

<table id="anchor_10" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">分页 PageView</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>records</td> 
			<td>List&lt<a style="color: #317ee7" onclick="anchorJump('#anchor_20'); return false;">UserDynamic</a>></td>
			<td>数据展示列表</td>
		</tr>
		<tr> 
			<td>pageIndex</td> 
			<td><a style="color: #317ee7" onclick="anchorJump('#anchor_30'); return false;">PageIndex</a></td>
			<td>页码索引</td>
		</tr>
		<tr> 
			<td>totalpage</td> 
			<td>long</td>
			<td>总页数</td>
		</tr>
		<tr> 
			<td>maxresult</td> 
			<td>long</td>
			<td>每页显示记录数</td>
		</tr>
		<tr> 
			<td>currentpage</td> 
			<td>long</td>
			<td>当前页</td>
		</tr>
		<tr> 
			<td>pagecount</td> 
			<td>long</td>
			<td>页码显示总数</td>
		</tr>
		<tr> 
			<td>onUrl</td> 
			<td>String</td>
			<td>上一页URL</td>
		</tr>
		<tr> 
			<td>nextUrl</td> 
			<td>String</td>
			<td>下一页URL</td>
		</tr>
	</tbody> 
</table>
<table id="anchor_30" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">分页索引 PageIndex</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>startindex</td> 
			<td>long</td>
			<td>分页开始索引</td>
		</tr>
		<tr> 
			<td>endindex</td> 
			<td>long</td>
			<td>分页结束索引</td>
		</tr>
	</tbody> 
</table>
<table id="anchor_20" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="5">用户动态 UserDynamic</th>
		</tr> 
		<tr> 
			<th width="30%" colspan="2">变量</th> 
			<th width="30%">类型</th>
			<th width="40%" colspan="2">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td colspan="2">id</td> 
			<td>String</td>
			<td colspan="2">Id</td>
		</tr>
		<tr> 
			<td colspan="2">userName</td> 
			<td>String</td>
			<td colspan="2">用户名称</td>
		</tr>
		<tr> 
			<td colspan="2">account</td> 
			<td>String</td>
			<td colspan="2">账号</td>
		</tr>
		<tr> 
			<td colspan="2">nickname</td> 
			<td>String</td>
			<td colspan="2">呢称</td>
		</tr>
		<tr> 
			<td colspan="2">avatarPath</td> 
			<td>String</td>
			<td>头像路径</td>
			<td width="15%" rowspan="2">页面上显示200*200头像示例${userDynamic.avatarPath}${userDynamic.avatarName}   &nbsp;&nbsp;显示100*100头像示例${userDynamic.avatarPath}100x100/${userDynamic.avatarName}</td> 
		</tr>
		<tr> 
			<td colspan="2">avatarName</td> 
			<td>String</td>
			<td>头像名称</td>
		</tr>
		<tr> 
			<td colspan="2">postTime</td> 
			<td>Date</td>
			<td colspan="2">发表时间</td>
		</tr>
		<tr> 
			<td colspan="2">status</td> 
			<td>Integer</td>
			<td colspan="2">状态 10.待审核 20.已发布 110.待审核删除 120.已发布删除</td>
		</tr>
		<tr> 
			<td rowspan="7">module</td> 
			<td><div class="mask"></div></td>
			<td>Integer</td>
			<td colspan="2">模块 100.话题</td>
		</tr>
		<tr> 
			<td>topicId</td> 
			<td>Long</td>
			<td colspan="2">话题Id</td>
		</tr>
		<tr> 
			<td>topicTitle</td> 
			<td>String</td>
			<td colspan="2">话题标题</td>
		</tr>
		<tr> 
			<td>topicContent</td> 
			<td>String</td>
			<td colspan="2">话题内容 本字段可以加上&lt#noescape>&lt/#noescape>标签关闭转义，以输出html标签</td>
		</tr>
		<tr> 
			<td>topicViewTotal</td> 
			<td>Long</td>
			<td colspan="2">话题查看总数</td>
		</tr>
		<tr> 
			<td>allowRoleViewList</td> 
			<td>List&ltString></td>
			<td colspan="2">话题允许查看的角色名称集合(默认角色除外)</td>
		</tr>
		<tr> 
			<td>hideTagTypeMap</td> 
			<td>Map&ltInteger,Boolean></td>
			<td colspan="2">内容含有隐藏标签类型  key: 10.输入密码可见  20.评论话题可见  30.达到等级可见 40.积分购买可见 50.余额购买可见  value:当前用户是否已对隐藏内容解锁</td>
		</tr>
		<tr> 
			<td>topicCommentTotal</td> 
			<td>Long</td>
			<td colspan="2">话题评论总数</td>
		</tr>
		<tr> 
			<td rowspan="5">module</td> 
			<td><div class="mask"></div></td>
			<td>Integer</td>
			<td colspan="2">模块 200.评论</td>
		</tr>
		<tr> 
			<td>topicId</td> 
			<td>Long</td>
			<td colspan="2">话题Id</td>
		</tr>
		<tr> 
			<td>topicTitle</td> 
			<td>String</td>
			<td colspan="2">话题标题</td>
		</tr>
		<tr> 
			<td>commentId</td> 
			<td>Long</td>
			<td colspan="2">评论Id</td>
		</tr>
		<tr> 
			<td>commentContent</td> 
			<td>String</td>
			<td colspan="2">评论内容 本字段可以加上&lt#noescape>&lt/#noescape>标签关闭转义，以输出html标签</td>
		</tr>
		<tr> 
			<td rowspan="7">module</td> 
			<td><div class="mask"></div></td>
			<td>Integer</td>
			<td colspan="2">模块 300.引用评论</td>
		</tr>
		<tr> 
			<td>topicId</td> 
			<td>Long</td>
			<td colspan="2">话题Id</td>
		</tr>
		<tr> 
			<td>topicTitle</td> 
			<td>String</td>
			<td colspan="2">话题标题</td>
		</tr>
		<tr> 
			<td>commentId</td> 
			<td>Long</td>
			<td colspan="2">评论Id</td>
		</tr>
		<tr> 
			<td>quoteCommentId</td> 
			<td>Long</td>
			<td colspan="2">引用评论Id</td>
		</tr>
		<tr> 
			<td>commentContent</td> 
			<td>String</td>
			<td colspan="2">评论内容 本字段可以加上&lt#noescape>&lt/#noescape>标签关闭转义，以输出html标签</td>
		</tr>
		<tr> 
			<td>quoteCommentContent</td> 
			<td>String</td>
			<td colspan="2">引用评论内容</td>
		</tr>
		<tr> 
			<td rowspan="5">module</td> 
			<td><div class="mask"></div></td>
			<td>Integer</td>
			<td colspan="2">模块 400.回复</td>
		</tr>
		<tr> 
			<td>topicId</td> 
			<td>Long</td>
			<td colspan="2">话题Id</td>
		</tr>
		<tr> 
			<td>topicTitle</td> 
			<td>String</td>
			<td colspan="2">话题标题</td>
		</tr>
		<tr> 
			<td>replyId</td> 
			<td>Long</td>
			<td colspan="2">回复Id</td>
		</tr>
		<tr> 
			<td>replyContent</td> 
			<td>String</td>
			<td colspan="2">回复内容</td>
		</tr>
		<tr> 
			<td rowspan="6">module</td> 
			<td><div class="mask"></div></td>
			<td>Integer</td>
			<td colspan="2">模块 500.问题</td>
		</tr>
		<tr> 
			<td>questionId</td> 
			<td>Long</td>
			<td colspan="2">问题Id</td>
		</tr>
		<tr> 
			<td>questionTitle</td> 
			<td>String</td>
			<td colspan="2">问题标题</td>
		</tr>
		<tr> 
			<td>questionContent</td> 
			<td>String</td>
			<td colspan="2">问题内容 本字段可以加上&lt#noescape>&lt/#noescape>标签关闭转义，以输出html标签</td>
		</tr>
		<tr> 
			<td>questionViewTotal</td> 
			<td>Long</td>
			<td colspan="2">问题查看总数</td>
		</tr>
		<tr> 
			<td>questionAnswerTotal</td> 
			<td>Long</td>
			<td colspan="2">问题答案总数</td>
		</tr>
		<tr> 
			<td rowspan="5">module</td> 
			<td><div class="mask"></div></td>
			<td>Integer</td>
			<td colspan="2">模块 600.答案</td>
		</tr>
		<tr> 
			<td>questionId</td> 
			<td>Long</td>
			<td colspan="2">问题Id</td>
		</tr>
		<tr> 
			<td>questionTitle</td> 
			<td>String</td>
			<td colspan="2">问题标题</td>
		</tr>
		<tr> 
			<td>answerId</td> 
			<td>Long</td>
			<td colspan="2">答案Id</td>
		</tr>
		<tr> 
			<td>answerContent</td> 
			<td>String</td>
			<td colspan="2">答案内容 本字段可以加上&lt#noescape>&lt/#noescape>标签关闭转义，以输出html标签</td>
		</tr>
		<tr> 
			<td rowspan="5">module</td> 
			<td><div class="mask"></div></td>
			<td>Integer</td>
			<td colspan="2">模块 700.答案回复</td>
		</tr>
		<tr> 
			<td>questionId</td> 
			<td>Long</td>
			<td colspan="2">问题Id</td>
		</tr>
		<tr> 
			<td>questionTitle</td> 
			<td>String</td>
			<td colspan="2">问题标题</td>
		</tr>
		<tr> 
			<td>answerReplyId</td> 
			<td>Long</td>
			<td colspan="2">答案回复Id</td>
		</tr>
		<tr> 
			<td>answerReplyContent</td> 
			<td>String</td>
			<td colspan="2">答案回复内容</td>
		</tr>
	</tbody> 
</table>



<h2 style="margin:0;padding:0; margin-top: 10px;">示例</h2>
<textarea name="exampleCode">
<#if pageView.records?exists && pageView.records?size gt 0 >    
	<#list pageView.records as userDynamic>
		<#-- 标题 -->
		${userDynamic.topicTitle}
		<#-- 发表时间 -->
		${userDynamic.postTime}
	</#list>
</#if> 
<#if !pageView.records?exists || pageView.totalrecord == 0 > 
	还没有动态
</#if> 
</textarea>



